$(document).ready(function(){

	(function(){

		var body = $(document).find("body");
		var txtBody = body.html();
		//console.log(body.html());
		var s = txtBody.match(/(<table.*?<\/table>)+/mg);
		console.log(s);

	})();

});